home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / dev / basic / ace24dist.lha / ace24.lha / include / prefs / locale.h < prev    next >
C/C++ Source or Header  |  1996-09-10  |  3KB  |  115 lines

  1. #ifndef PREFS_LOCALE_H
  2. #define PREFS_LOCALE_H 1
  3. /*
  4. ** locale.h for ACE Basic
  5. **
  6. ** Note: Translated to ACE by ConvertC2ACE
  7. **       @ MapMeadow Software, Nils Sjoholm
  8. **
  9. **
  10. ** Date: 09/03/95
  11. **
  12. **
  13. */
  14.  
  15. /*
  16. ** This are the StructPointer defines for locale.h
  17. */
  18. #ifndef CountryPrefsPtr
  19. #define CountryPrefsPtr ADDRESS
  20. #endif
  21. #ifndef LocalePrefsPtr
  22. #define LocalePrefsPtr ADDRESS
  23. #endif
  24. /*
  25. ** End of StructPointer defines for locale.h
  26. */
  27.  
  28.  
  29. /*****************************************************************************/
  30.  
  31.  
  32. #ifndef EXEC_TYPES_H
  33. #include <exec/types.h>
  34. #endif
  35.  
  36. #ifndef LIBRARIES_IFFPARSE_H
  37. #include <libraries/iffparse.h>
  38. #endif
  39.  
  40.  
  41. /*****************************************************************************/
  42.  
  43.  
  44. #define ID_LCLE 1279478853 
  45. #define ID_CTRY 1129599577 
  46.  
  47.  
  48. STRUCT CountryPrefs
  49.  
  50.     STRING cp_Reserved SIZE 16  /* 4*SIZEOF(LONGINT)  */
  51.     LONGINT cp_CountryCode 
  52.     LONGINT cp_TelephoneCode 
  53.     BYTE  cp_MeasuringSystem 
  54.  
  55.     STRING cp_DateTimeFormat SIZE 80  
  56.     STRING cp_DateFormat SIZE 40  
  57.     STRING cp_TimeFormat SIZE 40  
  58.  
  59.     STRING cp_ShortDateTimeFormat SIZE 80  
  60.     STRING cp_ShortDateFormat SIZE 40  
  61.     STRING cp_ShortTimeFormat SIZE 40  
  62.  
  63.     /* for numeric values */
  64.     STRING cp_DecimalPoint SIZE 10  
  65.     STRING cp_GroupSeparator SIZE 10  
  66.     STRING cp_FracGroupSeparator SIZE 10  
  67.     STRING cp_Grouping SIZE 10  
  68.     STRING cp_FracGrouping SIZE 10  
  69.  
  70.     /* for monetary values */
  71.     STRING cp_MonDecimalPoint SIZE 10  
  72.     STRING cp_MonGroupSeparator SIZE 10  
  73.     STRING cp_MonFracGroupSeparator SIZE 10  
  74.     STRING cp_MonGrouping SIZE 10  
  75.     STRING cp_MonFracGrouping SIZE 10  
  76.     BYTE  cp_MonFracDigits 
  77.     BYTE  cp_MonIntFracDigits 
  78.  
  79.     /* for currency symbols */
  80.     STRING cp_MonCS SIZE 10  
  81.     STRING cp_MonSmallCS SIZE 10  
  82.     STRING cp_MonIntCS SIZE 10  
  83.  
  84.     /* for positive monetary values */
  85.     STRING cp_MonPositiveSign SIZE 10  
  86.     BYTE  cp_MonPositiveSpaceSep 
  87.     BYTE  cp_MonPositiveSignPos 
  88.     BYTE  cp_MonPositiveCSPos 
  89.  
  90.     /* for negative monetary values */
  91.     STRING cp_MonNegativeSign SIZE 10  
  92.     BYTE  cp_MonNegativeSpaceSep 
  93.     BYTE  cp_MonNegativeSignPos 
  94.     BYTE  cp_MonNegativeCSPos 
  95.  
  96.     BYTE  cp_CalendarType 
  97. END STRUCT 
  98.  
  99.  
  100. STRUCT LocalePrefs
  101.  
  102.     STRING lp_Reserved SIZE 16  /* 4*SIZEOF(LONGINT) */
  103.     STRING lp_CountryName SIZE 32  
  104.     STRING lp_PreferredLanguages SIZE 300
  105.     LONGINT        lp_GMTOffset 
  106.     LONGINT       lp_Flags 
  107.     CountryPrefs lp_CountryData 
  108. END STRUCT 
  109.  
  110.  
  111. /*****************************************************************************/
  112.  
  113.  
  114. #endif /* PREFS_LOCALE_H */
  115.